import request from '@/utils/request'

export function tbDictDetailQuery(data) { //查询
    return request({
        method: 'get',
        url: 'tbSysDictDetail/query',
        params:data,
    })
}

export function tbDictDetailAdd(data) { //新增
    return request({
        method: 'post',
        url: 'tbSysDictDetail/add',
        data,
    })
}

export function tbDictDetailUpdate(data) { //编辑
    return request({
        method: 'post',
        url: 'tbSysDictDetail/update',
        data,
    })
}

export function tbDictDetailDelete(data) { //删除
    return request({
        method: 'get',
        url: '/tbSysDictDetail/delete/'+data,
    })
}

